#include "hal.h"
#include "leds.h"



/**********************************************************************************
 * Descrição:
 *
 * Paramêtro(s):
 *					-
 * Retorno:
 *					-
 **********************************************************************************/
void leds_init (void){
    GPIO_SetDir    (PORT_LEDS,LEDS, 1);
    GPIO_ClearValue(PORT_LEDS,LEDS   );//inicializa tudo em zero
}

/**********************************************************************************
 * Descrição:
 *
 * Paramêtro(s):
 *					-
 * Retorno:
 *					-
 **********************************************************************************/
void leds_active ( uint32_t xLED ){
    GPIO_SetValue(PORT_LEDS,xLED);
}

/**********************************************************************************
 * Descrição:
 *
 * Paramêtro(s):
 *					-
 * Retorno:
 *					-
 **********************************************************************************/
void leds_deactive ( uint32_t xLED ){
    GPIO_ClearValue(PORT_LEDS,xLED);
}

/**********************************************************************************
 * Descrição:
 *
 * Paramêtro(s):
 *					-
 * Retorno:
 *					-
 **********************************************************************************/
void leds_isr_toggle (void){

}
